package cn.edu.suse.epilepsy.service;


import cn.edu.suse.epilepsy.common.BizException;
import cn.edu.suse.epilepsy.entity.dto.SysUserLoginDto;
import cn.edu.suse.epilepsy.entity.dto.SysUserRegisterDto;
import cn.edu.suse.epilepsy.entity.pojo.SysUser;
import cn.edu.suse.epilepsy.entity.vo.SysUserVo;
import com.baomidou.mybatisplus.extension.service.IService;

public interface SysUserService extends IService<SysUser> {
    SysUser registers(SysUser sysUser);
    SysUserVo login(SysUserLoginDto dto) throws BizException;
    SysUser register(SysUserRegisterDto dto) throws BizException;
}